import httpInstance from "@/utils/http"

//轮播图
export const  getBannerAPI = (distributionSite) => {
  return httpInstance.get('home/banner',{
    params:{
      distributionSite
    }
  })
}
//新鲜好物
export const findNewAPI = () => {
  return httpInstance.get('home/new')
}
//人气推荐
export const getHotAPI = () =>{
  return httpInstance.get('home/hot')
}

//产品列表
export const getGoodsAPI = () => {
  return httpInstance.get('home/goods')
}